package com.flying.acls.domain.sid;

import com.flying.acls.model.*;
import com.flying.acls.model.ExprType;
import com.flying.acls.model.SidExpr;

public class SidExprFactory {
    public static SidExpr get(SidType type, ExprType exprType, String expression) {
        return new SidExpr(Constant.DEFAULT_OWNER, type, exprType, expression);
    }

    public static SidExpr get(String owner, SidType type, ExprType exprType, String expression) {
        return new SidExpr(owner, type, exprType, expression);
    }
}
